package com.heo.music.player.dto.input;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * created on 2024-05-12 10:23
 *
 * @author 星天无极
 **/
@ApiModel(description = "登录信息")
@Data
public class LoginInput {

    @NotNull(message = "用户名不能为空")
    @ApiModelProperty(value = "用户名", required = true)
    private String username;

    @NotNull(message = "用户密码不能为空")
    @ApiModelProperty(value = "用户密码", required = true)
    private String password;

}
